package com.hp.ssmp.entity.dto;

import com.hp.ssmp.entity.TComment;
import com.hp.ssmp.entity.TCommentReply;

import java.util.List;

public class TCommentDto extends TComment {

    private String username;
    private List<TCommentReply> replyList;

    public TCommentDto() {
    }

    public TCommentDto(String username, List<TCommentReply> replyList) {
        this.username = username;
        this.replyList = replyList;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<TCommentReply> getReplyList() {
        return replyList;
    }

    public void setReplyList(List<TCommentReply> replyList) {
        this.replyList = replyList;
    }
}
